#ifndef TESTPLUGIN_H
#define TESTPLUGIN_H
#include "free-cube/aplugin.h"

class TestPlugin : public fc::APlugin
{
public:
    TestPlugin();
    int n_mono_inputs(){ return 0 ;}
    int n_mono_outputs(){ return 0 ;}
    void set_master_handler(fc::AMasterHandler & handler){ handler_ = & handler; }
    void set_buffer(fc::Buffer & buffer){}
    void set_data(fc::DataList & data){}
    void process(size_t size);
    int delay(){ return 0 ;}
private:
    fc::AMasterHandler * handler_;
};

#endif // TESTPLUGIN_H
